package ytdp.careagle.com.ytdp.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.umeng.analytics.dplus.UMADplus;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;
import ytdp.careagle.com.ytdp.R;
import ytdp.careagle.com.ytdp.app.APP;

public class CarStatusInfoActivity extends BaseActivity {

    @Bind(R.id.tv_close)
    TextView tvClose;
    @Bind(R.id.activity_main)
    RelativeLayout activityMain;

    @Override
    public int getLayoutId() {
        return R.layout.activity_car_status_info;
    }

    @Override
    public void initView() {
        UMADplus.track(this, "车况说明页面", null);
    }

    @OnClick(R.id.tv_close)
    public void onClick(View view) {
        APP.getInstance().resetCountDown();
        switch (view.getId()) {
            case R.id.tv_close:
                finish();
                break;
        }
    }

    @Override
    public void finish() {
        super.finish();
        overridePendingTransition(R.anim.zoomin, R.anim.zoomout);
    }
}
